home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 6022 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  2.3 KB

  1. Path: news1.h1.usa.pipeline.com!usenet
  2. From: grantp@usa.pipeline.com(Pete)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Java?
  5. Date: 10 Feb 1996 11:41:52 GMT
  6. Organization: Kalevi, Inc.
  7. Message-ID: <4fi0a0$fkb@news1.usa.pipeline.com>
  8. References: <4fe708$8vi@lainet2.lainet.com>
  9. NNTP-Posting-Host: pipe7.h1.usa.pipeline.com
  10. X-PipeUser: grantp
  11. X-PipeHub: usa.pipeline.com
  12. X-PipeGCOS: (Pete)
  13. X-Newsreader: Pipeline USA v3.3.0
  14.  
  15. On Feb 09, 1996 01:11:36 in article <Re: Java? Was: "SHOULD I DUMP VISUAL
  16. BASIC?">, 'tequila@lainet.com (Tequila)' wrote: 
  17.  
  18. >Sun does indeed have Java info on their site. And Java does have a use. It
  19.  
  20. >can be used on the Web for many different applications (Can we say: Hot  
  21. >Java???) Java is not hype, it is a powerful language. 
  22.  
  23. Let's call a spade a spade.  Java is a programming language.  Period. 
  24.  
  25. As to its "powerful"ness: 
  26.  
  27. There's not a thing that can be done with Java that can't  
  28. be done in other languages.  True, it has features which 
  29. make it particularly suitable for certain applications; however, 
  30. whether or not that makes it "powerful" is in the eyes of the 
  31. beholder.  Is VB more "powerful" than C++?  The answer 
  32. depends on what one is producing. 
  33.  
  34. Very roughly, Java is a subset of the C++ language.  It's 
  35. missing many advanced (powerful?) features of C++, for 
  36. example multiple inheritance.  From Sun's own white paper 
  37. on Java:  "Java omits many rarely used, poorly understood, 
  38. confusing features of C++ that in our experience bring 
  39. more grief than benefit.  These omitted features primarily 
  40. consist of operator operloading ..."  In my book, reducing 
  41. capability is less powerful, not more. 
  42.  
  43. The features of Java that increase its powerfulness are 
  44. contained in its library aimed at building Web browsers, 
  45. and the "executable" that it produces; i.e., bytecode. 
  46. There's no reason for not implementing similar libs in 
  47. other languages and producing bytecode instead of 
  48. executable binaries is no big deal to compiler vendors. 
  49.  
  50. If HotJava (not much to do with the Java language 
  51. itself) becomes widely accepted as the web browser 
  52. of the future, there's no doubt in my mind that soon 
  53. thereafter MSVC++, BC++ and others will have options 
  54. to produce bytecode. 
  55.  
  56. So, is Java powerful?  Compared to Basic, maybe. 
  57. Compared to C++?  Not in my opinion. 
  58.  
  59. -- 
  60. Pete Grant 
  61. Kalevi, Inc. 
  62. Object Oriented Software Development
  63.